package com.weishi.project.training.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 船速仪历史数据
 */
@Data
@TableName("tbl_ship_speed_record")
public class ShipSpeedRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 船速仪表历史数据 */
    private Integer id;
    
    /** 船速仪id */
    @Excel(name = "船速仪id")
    private String shipSpeedId;
    
    /** 航道Id */
    @Excel(name = "航道Id")
    private Integer channelId;
    
    /** 速度结点数据 */
    @Excel(name = "速度结点数据")
    private String datajson;

    /** 桨频结点数据 */
    @Excel(name = "桨频结点数据")
    private String datajsonPropellerFrequency;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;
    
    @Excel(name = "训练小组 id")
    private Integer groupId;

    @Excel(name = "船速仪总距离")
    private Double totalDistance;

    @Excel(name = "船速仪总时间")
    private Double totalTime;

    /**
     * 直线距离
     */
    private Double straightLineDistance;

    /**
     * 分段号
     */
    private int segmentId;

    /**
     * 桨频数
     */
    private int propellerFrequency;

}